package cn.kgc.mybatis.mapper;

import cn.kgc.mybatis.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author: mosin
 * @version: v1.0  2022/11/22
 */
public interface UserMapper {

    Integer add(User user);

    List<User> selectAll();

    Integer deleteById(Integer id);

    Integer addUser(@Param("username") String username,@Param("password") String password);

    Integer addUser2(Map<String,String> map);


}
